import { createStore } from "vuex";
import Api from "@/api";
const Store = createStore({
  state: {
    cesiumSceneIsCreated: false,
    // 时间轴数据
    dataOfYear: []
  },
  getters: {
  },
  mutations: {
    SET_CESIUM_SCENE_CREATED(state) {
      state.cesiumSceneIsCreated = true;
    },
    SET_DATA_OF_YEAR(state, { data }) {
      state.dataOfYear = data;
    }
  },
});
export default Store;
